package com.lagou.tomcat.mapper;

import com.lagou.tomcat.container.Host;

import java.util.Map;

/**
 * @author zhangjinshan
 * @version 1.0
 * @description
 * @date 2021/7/15 上午9:25
 */
public class MappedHost {

    private Map<String, MappedContext> contexts;

    private Host host;

    public MappedHost(Map<String, MappedContext> contexts, Host host) {
        this.contexts = contexts;
        this.host = host;
    }

    public Map<String, MappedContext> getContexts() {
        return contexts;
    }

    public void setContexts(Map<String, MappedContext> contexts) {
        this.contexts = contexts;
    }

    public Host getHost() {
        return host;
    }

    public void setHost(Host host) {
        this.host = host;
    }
}
